/*
 * Copyright (c) 2009 Tim Mead
 *
 * Permission is hereby granted, free of charge, to any person
 * obtaining a copy of this software and associated documentation
 * files (the "Software"), to deal in the Software without
 * restriction, including without limitation the rights to use,
 * copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following
 * conditions:
 *
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 *
 */

WindowedApplication 
{ 
	background-image: Embed("/com/misoneism/fire/images/skins/application-skin.png",
		scaleGridLeft="1",
	    scaleGridRight="1060",
	    scaleGridTop="50",
	    scaleGridBottom="140");
    background-size: "100%";
	font-size: 12px; 
	font-family: "Myriad Web";
	title-text-style-name: "titleText";
	status-text-style-name: "statusText";
}

.titleText
{
	font-family: "Myriad Pro Black";
	font-size: 14px;
}

.statusText
{
	font-size: 12px;
}

HtmlToolTip
{
	font-size: 10px;
	font-family: "Myriad Web";
}

Window
{
	background-color: #EEEEEE;
	font-size: 10px; 
}
  
Label.h1
{
	font-size: 20px;
	padding-top: 0px;
	padding-bottom: 0px;
}

TextInput
{
	border-thickness: 2px;
	border-style: inset;
	border-color: #ABABAB;
	
	background-color: #DEDEDE;
	
	focus-thickness: 0px;
	
	down-skin: Embed("/com/misoneism/fire/images/skins/text-input-down.png",
		scaleGridLeft="4",
		scaleGridRight="148",
		scaleGridTop="4",
		scaleGridBottom="25");
}

TextArea
{
	border-thickness: 2px;
	border-style: inset;
	border-color: #ABABAB;
	
	background-color: #FFFFFF;
	
	focus-thickness: 0px;
	
	down-skin: Embed("/com/misoneism/fire/images/skins/text-input-down.png",
		scaleGridLeft="4",
		scaleGridRight="148",
		scaleGridTop="4",
		scaleGridBottom="25");
}

Button.chrome
{
	font-size: 12px;
	padding-left: 6px;
	padding-right: 6px;
	
	up-skin: Embed("/com/misoneism/fire/images/skins/button.png",
		scaleGridLeft="4",
	    scaleGridRight="28",
	    scaleGridTop="4",
	    scaleGridBottom="26");
    
    over-skin: Embed("/com/misoneism/fire/images/skins/button-over.png",
		scaleGridLeft="4",
	    scaleGridRight="28",
	    scaleGridTop="4",
	    scaleGridBottom="26");
    
    down-skin: Embed("/com/misoneism/fire/images/skins/button-down.png",
		scaleGridLeft="4",
	    scaleGridRight="28",
	    scaleGridTop="4",
	    scaleGridBottom="26");
    
    disabled-skin: Embed("/com/misoneism/fire/images/skins/button.png",
		scaleGridLeft="4",
	    scaleGridRight="28",
	    scaleGridTop="4",
	    scaleGridBottom="26");
}

Button.chromeLeft 
{ 	
	up-skin: Embed("/com/misoneism/fire/images/skins/button-left.png",
	    scaleGridLeft="4",
	    scaleGridRight="33",
	    scaleGridTop="4",
	    scaleGridBottom="26");
    
    over-skin: Embed("/com/misoneism/fire/images/skins/button-left-over.png",
		scaleGridLeft="4",
	    scaleGridRight="32",
	    scaleGridTop="4",
	    scaleGridBottom="27");
    
    down-skin: Embed("/com/misoneism/fire/images/skins/button-left-down.png",
		scaleGridLeft="4",
	    scaleGridRight="33",
	    scaleGridTop="4",
	    scaleGridBottom="27");
    
    disabled-skin: Embed("/com/misoneism/fire/images/skins/button-left.png",
	    scaleGridLeft="4",
	    scaleGridRight="33",
	    scaleGridTop="4",
	    scaleGridBottom="26");
}
    
Button.chromeMiddle 
{
	up-skin: Embed("/com/misoneism/fire/images/skins/button-middle.png",
		scaleGridLeft="2",
	    scaleGridRight="31",
	    scaleGridTop="3",
	    scaleGridBottom="27");
    
    over-skin: Embed("/com/misoneism/fire/images/skins/button-middle-over.png",
		scaleGridLeft="3",
	    scaleGridRight="31",
	    scaleGridTop="4",
	    scaleGridBottom="27");
    
    down-skin: Embed("/com/misoneism/fire/images/skins/button-middle-down.png",
		scaleGridLeft="3",
	    scaleGridRight="31",
	    scaleGridTop="4",
	    scaleGridBottom="27");
    
    disabled-skin: Embed("/com/misoneism/fire/images/skins/button-middle.png",
		scaleGridLeft="2",
	    scaleGridRight="31",
	    scaleGridTop="3",
	    scaleGridBottom="27");
} 
		
Button.chromeRight 
{ 
	up-skin: Embed("/com/misoneism/fire/images/skins/button-right.png",
		scaleGridLeft="3",
	    scaleGridRight="32",
	    scaleGridTop="3",
	    scaleGridBottom="26");
    
    over-skin: Embed("/com/misoneism/fire/images/skins/button-right-over.png",
		scaleGridLeft="3",
	    scaleGridRight="32",
	    scaleGridTop="4",
	    scaleGridBottom="27");
    
    down-skin: Embed("/com/misoneism/fire/images/skins/button-right-down.png",
		scaleGridLeft="3",
	    scaleGridRight="32",
	    scaleGridTop="4",
	    scaleGridBottom="27");
    
    disabled-skin: Embed("/com/misoneism/fire/images/skins/button-right.png",
		scaleGridLeft="3",
	    scaleGridRight="32",
	    scaleGridTop="3",
	    scaleGridBottom="26");
} 

ComboBox
{
	background-color: #CDCDCD;
	up-skin: Embed("/com/misoneism/fire/images/skins/combo-box.png",
		scaleGridLeft="4",
		scaleGridRight="128",
		scaleGridTop="4",
		scaleGridBottom="25");

	over-skin: Embed("/com/misoneism/fire/images/skins/combo-box-over.png",
		scaleGridLeft="4",
		scaleGridRight="128",
		scaleGridTop="4",
		scaleGridBottom="25");
	
	down-skin: Embed("/com/misoneism/fire/images/skins/combo-box-over.png",
		scaleGridLeft="4",
		scaleGridRight="128",
		scaleGridTop="4",
		scaleGridBottom="25");
	arrow-button-width: 22;
	
	disabled-skin: Embed("/com/misoneism/fire/images/skins/combo-box.png",
		scaleGridLeft="4",
		scaleGridRight="128",
		scaleGridTop="4",
		scaleGridBottom="25");
	
	drop-down-style-name: "dropdownStyle";
}

PopUpMenuButton
{
	background-color: #CDCDCD;
	up-skin: Embed("/com/misoneism/fire/images/skins/combo-box.png",
		scaleGridLeft="4",
		scaleGridRight="128",
		scaleGridTop="4",
		scaleGridBottom="25");
	
	pop-up-over-skin: Embed("/com/misoneism/fire/images/skins/combo-box-over.png",
		scaleGridLeft="4",
		scaleGridRight="128",
		scaleGridTop="4",
		scaleGridBottom="25");

	over-skin: Embed("/com/misoneism/fire/images/skins/combo-box-over.png",
		scaleGridLeft="4",
		scaleGridRight="128",
		scaleGridTop="4",
		scaleGridBottom="25");
	
	down-skin: Embed("/com/misoneism/fire/images/skins/combo-box-over.png",
		scaleGridLeft="4",
		scaleGridRight="128",
		scaleGridTop="4",
		scaleGridBottom="25");
	arrow-button-width: 22;
	
	pop-up-down-skin: Embed("/com/misoneism/fire/images/skins/combo-box-over.png",
		scaleGridLeft="4",
		scaleGridRight="128",
		scaleGridTop="4",
		scaleGridBottom="25");
	arrow-button-width: 22;
	
	disabled-skin: Embed("/com/misoneism/fire/images/skins/combo-box.png",
		scaleGridLeft="4",
		scaleGridRight="128",
		scaleGridTop="4",
		scaleGridBottom="25");
	
	drop-down-style-name: "dropdownStyle";
}

.dropdownStyle
{
	background-alpha: 0.9;
	background-color: #E5E5E5;
	selection-color: #C4C4C4;
}


DataGrid
{
	rollOverColor: #CDCDCD;
	selectionColor: #C4C4C4;
	headerSeparatorSkin: Embed("/com/misoneism/fire/images/skins/blank.png");
	verticalSeparatorSkin: Embed("/com/misoneism/fire/images/skins/blank.png");
	headerColors: #EBEBEB, #EBEBEB;
	horizontal-grid-lines: false;
	alternating-item-colors: #FFFFFF, #FFFFFF;	
}

.accordionStyle
{
	fillColors: #EBEBEB, #EBEBEB;
	selectedFillColors: #C4C4C4, #C4C4C4;
}	

Accordion
{
	headerStyleName: accordionStyle;
}

TabNavigator 
{
	fillColors: #FAFAFA, #EEEEEE;		
	horizontalAlign: center;
	tabWidth: 159;
	tabHeight: 25;
	
	up-skin: Embed("/com/misoneism/fire/images/skins/button.png",
		scaleGridLeft="4",
	    scaleGridRight="28",
	    scaleGridTop="4",
	    scaleGridBottom="26");
    
    over-skin: Embed("/com/misoneism/fire/images/skins/button-over.png",
		scaleGridLeft="4",
	    scaleGridRight="28",
	    scaleGridTop="4",
	    scaleGridBottom="26");
    
    down-skin: Embed("/com/misoneism/fire/images/skins/button-down.png",
		scaleGridLeft="4",
		scaleGridRight="28",
		scaleGridTop="4",
		scaleGridBottom="26");
}

CheckBox
{
	up-icon: Embed("/com/misoneism/fire/images/skins/checkbox.png");
	over-icon: Embed("/com/misoneism/fire/images/skins/checkbox.png");
	down-icon: Embed("/com/misoneism/fire/images/skins/checkbox.png");
	
	selected-up-icon: Embed("/com/misoneism/fire/images/skins/checkbox-checked.png");
	selected-over-icon: Embed("/com/misoneism/fire/images/skins/checkbox-checked.png");
	selected-down-icon: Embed("/com/misoneism/fire/images/skins/checkbox-checked.png");	
}

.userInput
{
	font-size: 16;
}

/* Embed fonts. */
@font-face
{
	src:url("/com/misoneism/fire/fonts/MYRIAD.TTF");
	font-family: "Myriad Web";
	advanced-anti-aliasing: true;
}

@font-face
{
	src:url("/com/misoneism/fire/fonts/MYRIADB_0.TTF");
	font-family: "Myriad Web";
	font-weight: bold;
	advanced-anti-aliasing: true;
}

@font-face
{
	src:url("/com/misoneism/fire/fonts/otf_fonts.swf");
	font-family: "Myriad Pro Black";
}
